
#include "typedef.h"

extern WORD red_keys[256];
extern WORD green_keys[256];
extern WORD blue_keys[256];


bool load_bitmap_header(char *pFileName, BITMAPFILEHEADER* pFileHdr , BITMAPINFOHEADER* pInfoHdr);

int valcmp(const void *s1, const void *s2);

void *hist_merger (iterator_t *itr);

void hist_mapper(map_args_t *args) ;

void hist_reducer(void *key_in, iterator_t *itr);
